# 运用if、eilf、else和and、or语句

print("自动打分系统")
score = input("请输入成绩分数")
temp_score = int(score)
if temp_score >= 90 and temp_score <= 100:
    print("优秀")
elif temp_score >= 80 and temp_score <= 90:
    print("良好")
elif temp_score >= 70 and temp_score <= 80:
    print("中等")
elif temp_score >= 60 and temp_score <= 70:
    print("及格")
elif temp_score > 100 or temp_score < 0:
    print("你在搞事情")
else:
    print("不及格")